package cn.broadmax.boot.shiro.controller;

import cn.broadmax.boot.base.message.SResult;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author jeff
 * @date 2020/6/23
 */
@Slf4j
@RestController
@RequestMapping("/sys/common")
public class CommonController {

    @GetMapping("/403")
    public SResult<?> noauth()  {
        return SResult.error("没有权限，请联系管理员授权");
    }

}
